﻿namespace FlyingEye.SaveInfoServices
{
    public static class SaveInfo
    {
        private static readonly TypeSaveInfoService _saveInfoService = new TypeSaveInfoService();

        public static TModel Read<TModel>() where TModel : class, new()
        {
            return _saveInfoService.Read<TModel>();
        }

        public static void Write<TModel>(TModel model) where TModel : class, new()
        {
            _saveInfoService.Write(model);
        }
    }
}
